package com.hospital.doctor.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.ArrayList;
import java.util.List;

//医生
@AllArgsConstructor
@NoArgsConstructor
public class Doctor {

    private int id;
    //医生id
    private int dId;
    //密码
    private String dPassword;
//    名称
    private String dName;
//   科室
    private int kId;

    private List<Patient> patient = new ArrayList<>();

    private List<Medical> medical = new ArrayList<>();

    private List<CheckBody> checkBody = new ArrayList<>();

    public List<CheckBody> getCheckBody() {
        return checkBody;
    }

    public void setCheckBody(List<CheckBody> checkBody) {
        this.checkBody = checkBody;
    }

    public List<Medical> getMedical() {
        return medical;
    }

    public void setMedical(List<Medical> medical) {
        this.medical = medical;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getdId() {
        return dId;
    }

    public void setdId(int dId) {
        this.dId = dId;
    }

    public String getdPassword() {
        return dPassword;
    }

    public void setdPassword(String dPassword) {
        this.dPassword = dPassword;
    }

    public String getdName() {
        return dName;
    }

    public void setdName(String dName) {
        this.dName = dName;
    }

    public int getkId() {
        return kId;
    }

    public void setkId(int kId) {
        this.kId = kId;
    }

    public List<Patient> getPatient() {
        return patient;
    }

    public void setPatient(List<Patient> patient) {
        this.patient = patient;
    }
}
